<template>
  <div class="item">
    <div class="left">
      {{ item.title }}
      <i class="el-icon-top icon"></i>
    </div>
    <div class="right">
      {{ item.content }}
      <!-- 让医疗建设少走弯路 为客户创造价值，为患者改善环境，为社会节省成本 -->
    </div>
  </div>
</template>
<script>
export default {
  name: "About",
  props: {
    item: {
      type: Object,
      default: () => {
        return {
          title: "",
          content: "",
        };
      },
    },
  },
  data() {
    return {};
  },
};
</script>
<style lang="scss" scoped>
.item {
  display: flex;
  justify-content: space-around;
  padding: 20px 20px 20px;
  width: 820px;
  margin: 26px auto 0;
  border: 1px dashed #777777;
  .left {
    position: relative;
    width: 60px;
    height: 60px;
    font-size: 22px;
    background: #049171;
    text-align: center;
    line-height: 30px;
    color: #ffffff;
    margin-top: 22px;
    .icon {
      background: #049171;
      position: absolute;
      left: 100%;
      top: -22px;
    }
  }
  .right {
    flex: 1;
    margin-left: 75px;
    font-size: 24px;
    color: #464241;
    display: flex;
    align-items: center;
  }
}
</style>